package com.hopes.bizz.poll.video.vo;

import com.hopes.bizz.poll.common.constant.enums.PollSysDictEnum;
import com.hopes.bizz.poll.video.entity.PollVdDeviceNvrEntity;
import com.hopes.boss.admin.api.resolver.DictResolver;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 视频监控管理
 *
 * @author cx
 * @date 2023-09-19 14:16:45
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class VdDeviceNvr extends PollVdDeviceNvrEntity {

    private String type = "nvr";

    private Boolean login = false;
    public String getDeviceBrandStr() {
        return DictResolver.getItemLabelByValue(PollSysDictEnum.poll_equipment_manufacturer_type, this.getDeviceBrand());
    }



}
